package com.zzu.dao;

import com.zzu.model.Teacher;
import com.zzu.model.TeacherGrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITeacherDao {

    //根据账号和密码查询教师账号
    public Teacher findTeacher(@Param("id") String id, @Param("password") String password);

    //根据id查询教师信息
    public Teacher findTeacherById(String tId);

    //查询学生成绩
    public List<TeacherGrade> findGrades(String id);
}
